package com.wr.dao;

import com.wr.model.Plate;
import com.wr.model.RestResponse;
import com.wr.model.User;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author weirong
 * @Title:
 * @Description:
 * @date 2018/6/1118:18
 */
@FeignClient(value = "blog-server")
public interface PlateDao {

    @RequestMapping(value = "plate/list")
    public RestResponse<List<Plate>> list(@RequestBody Plate plate) ;
}
